using GameFramework.Event;

namespace StarForce
{
    public class PropEventArgs : GameEventArgs
    {

        public static readonly int EventId = typeof(PropEventArgs).GetHashCode();
        
        public override int Id
        {
            get { return EventId; }
        }

        private int m_PropType;

        public int PropType
        {
            get { return m_PropType; }
            set { m_PropType = value; }
        }

        public override void Clear()
        {
            m_PropType = 0;
        }

        public PropEventArgs Fill(int propType)
        {
            m_PropType = propType;
            return this;
        }
    }
}
